package ${servicePackageName};

import cn.kawins.mybatis.BaseService;
import ${voPackageName}.${voName};
import ${dtoPackageName}.${dtoName};
import ${entityPackageName}.${entityName};
import com.github.pagehelper.PageInfo;

import java.util.Collection;
import java.util.List;

/**
* @ClassName: ${serviceName}
* @Description: ${entityName}业务访问接口
* @author ${authorName}
* @date ${currentTime}
*/
public interface ${serviceName}  extends BaseService<${entityName}> {


    PageInfo<${voName}> page(${dtoName} query);

    List<${voName}> listByDTO(${dtoName} query);

    ${entityName} save(${voName} vo);

    ${entityName} update(${voName} vo);

    boolean saveBatch(Collection<${entityName}> entityList);

    void delete(List<Long> idList);

}
